home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 2
/
United Public Domain Gold 2.iso
/
utilities
/
pu064.dms
/
pu064.adf
/
KwikBackUp
/
Source
/
HDDisplay.def
< prev
next >
Wrap
Text File
|
1990-03-25
|
1KB
|
46 lines
DEFINITION MODULE HDDisplay;
FROM SYSTEM IMPORT ADDRESS;
FROM Exec IMPORT UByte;
FROM Graphics IMPORT RastPortPtr;
FROM Intuition IMPORT WindowPtr, Gadget;
(*------ TYPEs: ------*)
TYPE
gadgets = (HDGadg, DiskGadg, SaveAllGadg, RegardArchivedGadg,
SetArchivedGadg, StartGadg, BackUpGadg, RestoreGadg);
ReqResults = (Retry, Continue, Cancel);
(*------ Variables: ------*)
VAR
Window: WindowPtr;
Gadgets: ARRAY gadgets OF Gadget;
RP: RastPortPtr;
HDName: ARRAY[0..255] OF CHAR;
DriveName: ARRAY[0..5] OF CHAR;
(*------ Type Text: ------*)
PROCEDURE Type(x,y: INTEGER; String: ARRAY OF CHAR);
(*--------------------- Redraw Window: ----------------------------------*)
PROCEDURE Redraw();
(*------------------------- Open Window: --------------------------------*)
PROCEDURE OpenDisplay();
(*--------------------------- Requester: --------------------------------*)
PROCEDURE HDRequest(What: ADDRESS;
col0,col1: UByte;
retry: BOOLEAN): ReqResults;
END HDDisplay.